package com.fs.cv.pojo.pojodao;

/**
 * @description:
 * @author: hj
 * @createDate: 2020/9/28
 * @version: 1.0
 */
//考勤表
public class Absence {
    private int absenceId;//考勤ID
    private int studentId;//学生ID
    private String studentName;//学生名字
    private  int courseId;//课程ID
    private String absenceTime;//缺勤时间

    public Absence() {
    }

    public Absence(int absenceId, int studentId, String studentName, int courseId, String absenceTime) {
        this.absenceId = absenceId;
        this.studentId = studentId;
        this.studentName = studentName;
        this.courseId = courseId;
        this.absenceTime = absenceTime;
    }

    public int getAbsenceId() {
        return absenceId;
    }

    public void setAbsenceId(int absenceId) {
        this.absenceId = absenceId;
    }

    public int getStudentId() {
        return studentId;
    }

    public void setStudentId(int studentId) {
        this.studentId = studentId;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public int getCourseId() {
        return courseId;
    }

    public void setCourseId(int courseId) {
        this.courseId = courseId;
    }

    public String getAbsenceTime() {
        return absenceTime;
    }

    public void setAbsenceTime(String absenceTime) {
        this.absenceTime = absenceTime;
    }

    @Override
    public String toString() {
        return "Absence{" +
                "absenceId=" + absenceId +
                ", studentId=" + studentId +
                ", studentName='" + studentName + '\'' +
                ", courseId=" + courseId +
                ", absenceTime='" + absenceTime + '\'' +
                '}';
    }
}
